﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;


//Author: ljj
//Date: 20190624
//Function: buff施加类,放在施加方上
[System.Serializable]
public class BuffAdder : MonoBehaviour
{

    public List<BuffInfo> buffList = new List<BuffInfo>();

    public void AddToBuffList(int buffIndex, float effcet,float duration) 
    {
        buffList.Add(new BuffInfo(buffIndex, effcet, duration));
    }
}

